/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdDatasourceTaskInstanceLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 数据源数据集成任务实例日志视图对象 isfd_datasource_task_instance_log
 *
 * @author Lion Li
 * @date 2024-10-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdDatasourceTaskInstanceLog.class)
public class IsfdDatasourceTaskInstanceLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 任务ID
     */
    @ExcelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 请求参数
     */
    @ExcelProperty(value = "请求参数")
    private String requestData;

    /**
     * 返回参数，记录成功和失败情况
     */
    @ExcelProperty(value = "返回参数，记录成功和失败情况")
    private String responseData;

    /**
     * 状态，0-成功，1-失败
     */
    @ExcelProperty(value = "状态，0-成功，1-失败")
    private Integer status;

    /**
     * 数据迁移总条数
     */
    @ExcelProperty(value = "数据迁移总条数")
    private Long totalNumber;

    /**
     * 数据迁移成功数
     */
    @ExcelProperty(value = "数据迁移成功数")
    private Long successNumber;

    /**
     * 是否删除，0-未删除，1-已删除
     */
    @ExcelProperty(value = "是否删除，0-未删除，1-已删除")
    private Integer isDeleted;


}
